.class public Lcom/zuiapps/suite/utils/memory/ProcessItem;
.super Ljava/lang/Object;
.source "ProcessItem.java"


# instance fields
.field public mForegruond:Z

.field public mIsSelf:Z

.field public mIsSys:Z

.field public mPackageName:Ljava/lang/String;

.field public mPid:I

.field public mProcessName:Ljava/lang/String;

.field public mRunningAppProcessInfo:Landroid/app/ActivityManager$RunningAppProcessInfo;


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 8
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public addPid(I)V
    .registers 2
    .param p1, "pid"    # I

    .prologue
    .line 27
    iput p1, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mPid:I

    .line 28
    return-void
.end method

.method public init(Ljava/lang/String;Ljava/lang/String;Landroid/app/ActivityManager$RunningAppProcessInfo;)V
    .registers 6
    .param p1, "packageName"    # Ljava/lang/String;
    .param p2, "processName"    # Ljava/lang/String;
    .param p3, "runningAppProcessInfo"    # Landroid/app/ActivityManager$RunningAppProcessInfo;

    .prologue
    .line 18
    iput-object p1, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mPackageName:Ljava/lang/String;

    .line 19
    iput-object p3, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mRunningAppProcessInfo:Landroid/app/ActivityManager$RunningAppProcessInfo;

    .line 20
    iput-object p2, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mProcessName:Ljava/lang/String;

    .line 21
    iget v0, p3, Landroid/app/ActivityManager$RunningAppProcessInfo;->importance:I

    const/16 v1, 0x64

    if-lt v0, v1, :cond_15

    iget v0, p3, Landroid/app/ActivityManager$RunningAppProcessInfo;->importance:I

    const/16 v1, 0xc8

    if-gt v0, v1, :cond_15

    .line 22
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mForegruond:Z

    .line 24
    :cond_15
    return-void
.end method

.method public init(Ljava/lang/String;Ljava/lang/String;Landroid/app/ActivityManager$RunningServiceInfo;)V
    .registers 5
    .param p1, "paramString"    # Ljava/lang/String;
    .param p2, "processName"    # Ljava/lang/String;
    .param p3, "paramRunningServiceInfo"    # Landroid/app/ActivityManager$RunningServiceInfo;

    .prologue
    .line 31
    iput-object p1, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mPackageName:Ljava/lang/String;

    .line 32
    iput-object p2, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mProcessName:Ljava/lang/String;

    .line 33
    iget-boolean v0, p3, Landroid/app/ActivityManager$RunningServiceInfo;->foreground:Z

    iput-boolean v0, p0, Lcom/zuiapps/suite/utils/memory/ProcessItem;->mForegruond:Z

    .line 34
    return-void
.end method
